package com.lwlk.zdk.service.wd.impl;

import com.lwlk.zdk.mapper.wd.wdIndustryDictionaryMapper;
import com.lwlk.zdk.service.wd.DictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DictionaryServiceImpl implements DictionaryService {

    @Autowired
    wdIndustryDictionaryMapper industryDictionaryMapper;

    @Override
    public List<Map<String, Object>> selectIndustry(String industryType) {
        List<Map<String,Object>>industry=industryDictionaryMapper.selectIndustry(industryType);
        return industry;
    }

    @Override
    public List<Map<String, Object>> selectVehicleType() {
        String vehicleType="vehicle_type";
        List<Map<String,Object>> VehicleType=industryDictionaryMapper.selectIndustry(vehicleType);
        return VehicleType;
    }

    @Override
    public List<Map<String, Object>> selectVehicleColor() {
        String vehicleColor="vehicle_color";
        List<Map<String,Object>> vehicleType=industryDictionaryMapper.selectIndustry(vehicleColor);
        return vehicleType;
    }
}
